import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from "element-ui";
import 'element-ui/lib/theme-chalk/index.css';
import axios from 'axios'
import {deleteRequest, getRequest, postRequest, putRequest} from "@/assets/js/requestUtil";
import api from './api'

Vue.config.productionTip = false
Vue.use(ElementUI);
Vue.prototype.axios = axios
Vue.prototype.postRequest = postRequest
Vue.prototype.getRequest = getRequest
Vue.prototype.putRequest = putRequest
Vue.prototype.deleteRequest = deleteRequest
Vue.prototype.$api=api

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
